<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>头部-后台管理系统</title>
<link rel="stylesheet" type="text/css" href="../css/public.css" />
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script type="text/javascript" src="../js/public.js"></script>
</head>

<body>
	<!-- 头部 -->
	<div class="head">
		<div class="headL">
			<img class="headLogo" />
			<h2 style="color: white; font-size: 40px">后台管理</h2>
		</div>
		<div class="headR">
			<p class="p1">
				欢迎，${sessionScope.adminInfos.admin}
			</p>
			<p class="p2">
				<a href="#" class="resetPWD"></a>&nbsp;&nbsp;<a
					href="#" class="goOut" id="quit" >退出</a>
			</p>
		</div>
		<!-- onclick="{if(confirm(&quot;确定退出吗&quot;)){return true;}return false;}" -->
	</div>

	<script>

        $(function(){
            $("#quit").click(quit);
        });

        function quit() {
            var r = confirm("您确定要退出系统");
            if (r === true) {

                top.location.href = "${pageContext.request.contextPath}/admin/login.jsp";
            } else {
                alert("感谢你还回来");
            }
        }
	</script>

	<div class="closeOut">
		<div class="coDiv">
			<p class="p1">
				<span>X</span>
			</p>
			<p class="p2">确定退出当前用户？</p>
			<P class="p3">
				<a class="ok yes" href="../login.jsp">确定</a><a class="ok no" href="#">取消</a>
			</p>
		</div>
	</div>



</body>
</html>